#ifndef __COMM_H__
#define __COMM_H__
#include <rtdevice.h>
/* 串口接收消息结构*/
struct Msg_Serial
{
    rt_device_t dev;
    rt_size_t size;
};

extern struct rt_serial_device *panel_serial_dev;
extern struct rt_serial_device *pc_serial_dev;
void comm_panel_init(void);
void comm_panel_set_baudrate(rt_uint32_t baudrate);
void comm_pc_init(void);
void comm_pc_set_baudrate(rt_uint32_t baudrate);
#endif
